package com.gzsxy.esjy.service.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gzsxy.esjy.service.base.dto.response.CommentRsp;
import com.gzsxy.esjy.service.base.util.Page;
import com.gzsxy.esjy.service.product.entity.Comment;
import com.gzsxy.esjy.service.product.entity.vo.CommentQueryVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xiaolong
 * @version 1.0
 * @description: 商品评论
 * @date 2022/2/11 9:34
 */
@Repository
public interface CommentMapper extends BaseMapper<Comment> {

    IPage<CommentRsp> getPageVo(@Param("page") Page<?> page,@Param("commentQueryVo") CommentQueryVo commentQueryVo);


}
